package com.hig.risk.service;

import java.util.List;
import com.hig.risk.domain.RiskSelfInspection;
import com.hig.risk.domain.RiskSelfInspectionStatic;
import com.ruoyi.common.core.domain.AjaxResult;

/**
 * 重大隐患自查清单Service接口
 *
 * @author scp
 * @date 2024-09-29
 */
public interface IRiskSelfInspectionService
{
    /**
     * 查询重大隐患自查清单
     *
     * @param id 重大隐患自查清单主键
     * @return 重大隐患自查清单
     */
    public RiskSelfInspection selectRiskSelfInspectionById(Long id);

    /**
     * 查询重大隐患自查清单列表
     *
     * @param riskSelfInspection 重大隐患自查清单
     * @return 重大隐患自查清单集合
     */
    public List<RiskSelfInspection> selectRiskSelfInspectionList(RiskSelfInspection riskSelfInspection);

    /**
     * 新增重大隐患自查清单
     *
     * @param riskSelfInspection 重大隐患自查清单
     * @return 结果
     */
    public int insertRiskSelfInspection(RiskSelfInspection riskSelfInspection);

    /**
     * 修改重大隐患自查清单
     *
     * @param riskSelfInspection 重大隐患自查清单
     * @return 结果
     */
    public int updateRiskSelfInspection(RiskSelfInspection riskSelfInspection);

    /**
     * 批量删除重大隐患自查清单
     *
     * @param ids 需要删除的重大隐患自查清单主键集合
     * @return 结果
     */
    public int deleteRiskSelfInspectionByIds(Long[] ids);

    /**
     * 删除重大隐患自查清单信息
     *
     * @param id 重大隐患自查清单主键
     * @return 结果
     */
    public int deleteRiskSelfInspectionById(Long id);

    public AjaxResult selectOvertime(RiskSelfInspection riskSelfInspection);

    public List<RiskSelfInspectionStatic> selectStaticList(RiskSelfInspection riskSelfInspection);

    public int insertAllRiskSelfInspection(RiskSelfInspectionStatic riskSelfInspection);

    public int deleteRiskSelfInspection(RiskSelfInspectionStatic riskSelfInspection);
}
